﻿@model IEnumerable<WmWebSystem.Models.Slider>

@{
    ViewBag.Title = "Slider新闻列表";
    Layout = "~/Views/Shared/_Layout_manage.cshtml";
}

<div class="contentcontainer">
    <div class="headings">
        <h2>Slider列表</h2>
    </div>
    <div class="contentbox">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <thead>
                <tr>
                    <th>标题</th>
                    <th>创建时间</th>
                    <th>管理</th>
                    <th><input name="" type="checkbox" value="" id="checkboxall" /></th>
                </tr>
            </thead>
            <tbody>

            @foreach (var item in Model) {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.Title)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.AddTime)
                </td>
                <td>
                    <a href="@Url.Action("Edit", "Slider", new { id = item.SliderId })" title=""><img src="@Url.Content("~/Content/zone/img/icons/icon_edit.png")" alt="Edit" /></a>
                    <a href="@Url.Action("Details", "Slider", new { id = item.SliderId })" title=""><img src="@Url.Content("~/Content/zone/img/icons/icon_approve.png")" alt="Details" /></a>
                    <a href="@Url.Action("Delete", "Slider", new { id = item.SliderId })" title=""><img src="@Url.Content("~/Content/zone/img/icons/icon_delete.png")" alt="Delete" /></a>
                </td>
                <td>
                    <input type="checkbox" id="CheckId" value="@item.SliderId" />
                </td>
            </tr>
        }
            </tbody>
        </table> 
        <div style="clear: both;"></div>
    </div>
</div>
